import redis

pool = redis.ConnectionPool(host='localhost', port=6379, decode_responses=True)
r = redis.Redis(connection_pool=pool)

r.set("name", "name1")

print(bool(r.get("name3223")))

# 语言+key
